<?php
class model_postmeta extends lib_db_model {
	/**
	 * model 对应的 table
	 */
	private $_table='postmeta';
	
	public $_field=array(
		'id'=>array(
			'$fieldName'=>'id'
		),
		'post_id'=>array(-
			'$fieldName'=>'post_id'
		),
		'key'=>array(-
			'$fieldName'=>'key'
		),
		'value'=>array(
			'$fieldName'=>'value'
		),
	);
/**
 * 
CREATE TABLE IF NOT EXISTS `postmeta` (
  `id` bigint(20) unsigned NOT NULL auto_increment,
  `post_id` bigint(20) unsigned NOT NULL default '0',
  `key` varchar(255) default NULL,
  `value` longtext,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
 * 
 */
}
